package com.luoyuanxiangvip.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luoyuanxiangvip.core.entity.SysUser;

/**
 * <p>
 * 系统用户 Mapper 接口
 * </p>
 *
 * @author luoyuanxiang <p>luoyuanxiangvip.com</p>
 * @since 2019-05-30
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 根据用户名查找
     *
     * @param userName 用户名
     * @return SysUser
     */
    SysUser findByUserName(String userName);
}
